!if 0
Copyright (c) Microsoft Corporation.  All rights reserved.
!endif
!if 0
Use of this source code is subject to the terms of the Microsoft end-user
license agreement (EULA) under which you licensed this SOFTWARE PRODUCT.
If you did not accept the terms of the EULA, you are not authorized to use
this source code. For a copy of the EULA, please see the LICENSE.RTF on your
install media.
!endif
!IF 0


Module Name:
    sources.

Abstract:
    This file specifies the target component being built and the list of
    sources files needed to build that component.  Also specifies optional
    compiler switches and libraries that are unique for the component being
    built.

!ENDIF

SYNCHRONIZE_DRAIN=1

RELEASETYPE=PLATFORM
TARGETNAME=vgx_ohci
TARGETTYPE=DYNLINK
WINCEREL=1

!IF "$(_TGTCPU)"=="ARMV4I"
TARGETLIBS=$(_COMMONSDKROOT)\lib\$(_CPUINDPATH)\coredll.lib \
           $(_SYSGENOAKROOT)\lib\$(_CPUINDPATH)\ceddk.lib \
  		   $(_TARGETPLATROOT)\lib\$(_CPUINDPATH)\drvlib.lib
!ELSE  		   
TARGETLIBS=$(_COMMONSDKROOT)\lib\$(_CPUINDPATH)\coredll.lib \
           $(_SYSGENOAKROOT)\lib\$(_CPUINDPATH)\ceddk.lib
!ENDIF  		   

!IF "$(_WINCEOSVER)"!="420"                     
SOURCELIBS=$(_COMMONOAKROOT)\lib\$(_CPUINDPATH)\ohcdmdd2.lib
!ELSE
SOURCELIBS=$(_COMMONOAKROOT)\lib\$(_CPUINDPATH)\ohcdmdd2.lib \
		   $(_COMMONOAKROOT)\lib\$(_CPUINDPATH)\hcdlib.lib
!ENDIF

DLLENTRY=DllMain
DEFFILE=$(_COMMONOAKROOT)\inc\ohcd.def

!IF "$(_TGTCPU)"=="ARMV4I"
CDEFINES=$(CDEFINES) -DXSCALE
!ENDIF

# Enable Host Interface
!IF "$(SMI_HOST)"=="1"
CDEFINES=$(CDEFINES) -DHOST_ENABLE
!ENDIF

# Enable Display Performance query
!IF "$(SMI_USI)"=="1"
CDEFINES=$(CDEFINES) -DUSI
!ENDIF

INCLUDES=           \
    ..\..\..\inc;       \
    ..\inc;                 \
    $(_PROJECTROOT)\cesysgen\oak\inc;   \
    $(_PROJECTROOT)\cesysgen\sdk\inc;       \
    $(_PROJECTROOT)\cesysgen\ddk\inc;   \
    $(_TARGETPLATROOT)\inc; \

SOURCES= \
        system.c \

